package com.melody.android

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
import com.melody.android.logic.database.MySQLiteOpenHelper

class MelodyApplication : Application() {

    companion object {
        @SuppressLint("StaticFieldLeak")
        lateinit var context: Context
        lateinit var sqLiteOpenHelper: MySQLiteOpenHelper
    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
        sqLiteOpenHelper = MySQLiteOpenHelper(context)
    }

}